#!/bin/sh

if [ "$1" == "install" ]; then
  echo /usr/lib/libnat64.so >>/etc/ld.so.preload
elif [ "$1" == "deinstall" ]; then
  sed -i '/\/usr\/lib\/libnat64.so/d' /etc/ld.so.preload
else
  echo $0 requires one argument: "install" or "deinstall"
fi
